package com.manster.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @Author manster
 * @Date 2022/4/15
 **/
@Data
public class RegisterUserVo {


    @NotBlank(message = "用户名不可为空")
    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @NotBlank(message = "邮箱不可为空")
    @ApiModelProperty(value = "邮箱")
    private String email;

    @NotBlank(message = "验证码不可为空")
    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "城市")
    private String city;

}
